import request from '@/plugins/axios/request';
const baseURL = process.env.VUE_APP_BASE_API

// 招标合同-分页查询
export function getList(data) {
  return request({
    url: `${baseURL}/tech-project-invite-contract/getList`,
    method: "post",
    data: data,
  });
}

// 招标合同-添加
export function addContract(data) {
  return request({
    url: `${baseURL}/tech-project-invite-contract/add`,
    method: "post",
    data: data,
  });
}
// 招标合同-编辑
export function updateContract(data) {
  return request({
    url: `${baseURL}/tech-project-invite-contract/update`,
    method: "post",
    data: data,
  });
}
// 招标合同-删除
export function deleteContract(data) {
  return request({
    url: `${baseURL}/tech-project-invite-contract/delete`,
    method: "post",
    data: data,
  });
}
// 招标合同付款详情
export function getContractPayInfo(data) {
  return request({
    url: `${baseURL}/tech-project-invite-contract-pay-info/getDetail`,
    method: "get",
    params: data,
  });
}
// 招标合同付款-保存
export function saveContractPayInfo(data) {
  return request({
    url: `${baseURL}/tech-project-invite-contract-pay-info/save`,
    method: "post",
    data: data,
  });
}